@@ -63,7 +63,6 @@ SMTP_ENABLE_STARTTLS_AUTO=true |
||
63 | 63 |
# The address from which system emails will appear to be sent. |
64 | 64 |
EMAIL_FROM_ADDRESS=from_address@gmail.com |
65 | 65 |
|
66 |
- |
|
67 | 66 |
########################### |
68 | 67 |
# Agent Logging # |
69 | 68 |
########################### |
@@ -105,3 +104,6 @@ ENABLE_INSECURE_AGENTS=false |
||
105 | 104 |
# Tools. Specify a dot(1) command path built with SVG support |
106 | 105 |
# enabled. |
107 | 106 |
#USE_GRAPHVIZ_DOT=dot |
107 |
+ |
|
108 |
+# Timezone. Use `rake time:zones:local` or `rake time:zones:all` to get your zone name |
|
109 |
+TIMEZONE="Pacific Time (US & Canada)" |
@@ -18,7 +18,7 @@ module Huginn |
||
18 | 18 |
|
19 | 19 |
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. |
20 | 20 |
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. |
21 |
- config.time_zone = 'Pacific Time (US & Canada)' |
|
21 |
+ config.time_zone = ENV['TIMEZONE'].present? ? ENV['TIMEZONE'] : "Pacific Time (US & Canada)" |
|
22 | 22 |
|
23 | 23 |
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. |
24 | 24 |
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] |